/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
window.onload = function () {
    $("div.navy").load("http://localhost:8080/Touchdown308/navy.xhtml");
}

$(document).ready(function(){
    $("div.navy").load("http://localhost:8080/Touchdown308/navy.xhtml"); 
});
function link(url){
    window.location = url;
}

function showmenu(elmnt)
{
    document.getElementById(elmnt).style.visibility="visible";
}

function hidemenu(elmnt)
{
    document.getElementById(elmnt).style.visibility="hidden";
}

function initTime(){
    var opt = document.createElement("option");
    var sel = document.getElementsByName("time");
    for(var k = 0 ; k < 24 ; k++){
        for(var j=0;j<4;j++){
            opt.value=k*60+j*15;
            opt.text=k+":"+j*15;
            sel.add(opt);
        }
    }
}